UCF STIG Viewer Logo

System logs must be rotated daily.


Overview

Finding ID Version Rule ID IA Controls Severity
V-217943 RHEL-06-000138 SV-217943r505923_rule Low
Description
Log files that are not properly rotated run the risk of growing so large that they fill up the /var/log partition. Valuable logging information could be lost if the /var/log partition becomes full.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2020-09-03

Details

Check Text ( C-19424r376844_chk )
Run the following commands to determine the current status of the "logrotate" service:

# grep logrotate /var/log/cron*

If the logrotate service is not run on a daily basis by cron, this is a finding.
Fix Text (F-19422r376845_fix)
The "logrotate" service should be installed or reinstalled if it is not installed and operating properly, by running the following command:

# yum reinstall logrotate